package com.qf.service;

import com.qf.pojo.City;
import com.qf.pojo.User;
import com.qf.vo.BaseResult;
import org.apache.ibatis.annotations.Param;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import java.util.List;
import java.util.Map;

public interface UserService {
    //登录
    BaseResult userLogin(User user,HttpSession session);

    //注册
    BaseResult userRegister(User user,HttpSession session);

    //判断用户是否登录
    BaseResult isLogin(HttpSession session);

    //修改用户电话号(用户名)
    BaseResult updateTel(String tel,HttpSession session);

    //修改用户邮箱
    BaseResult updateEmail(String email,HttpSession session);

    //修改密码
    BaseResult updatePassword(String password,String repassword,HttpSession session);

}
